﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditRegisterCase.aspx.cs" Inherits="Cases_EditRegisterCase" %>

<%@ Register Assembly="YYWebControl" Namespace="YYWebControl.YYSimpleCalendar" TagPrefix="YYWebControl" %>

<%@ Register src="ucCaseNav.ascx" tagname="ucCaseNav" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <link href="../css/f_css.css" rel="Stylesheet" type="text/css" />
        <link href="../css/listpage.css" rel="stylesheet" type="text/css" />
    <style>
    #tableContent
    {
        width:99%;
    }
    #tableContent, #tableContent td
    {
        border:0px;
    }
    #tableContent.tdTitle
    {
        border-bottom:2px solid #444444;
    }
    .table2 tbody tr td
    {
        height:20px; line-height:20px;
        padding:2px 10px 2px 2px;
    }
    .hr
    {
        border:1px solid #ADA3A5;
        width:99%;
    }
    .singleline
    {
        width:180px;
    }
    .td_title
    {
        text-align:right; padding-right:10px; vertical-align:middle;
    }
        </style>
    <script language="javascript" src="../js/subMsg.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="titleText">案件登记
        <asp:Label runat="server" ID="lblTitle"> - 收文指示函信息 (案件名称 (状态：催委托书，未提交))</asp:Label>
    </div>
    <div class="btdiv2">
            <asp:Button ID="btnSave" runat="server" CssClass="input00" Text="保存并下一步" 
                onclick="btnSave_Click" ValidationGroup="submit" />
    </div>
    
    <table style="width:100%;">
    <tr>
    <td style="width:auto">
    <table id="tableContent" class="table2">
    <tr style="height:1px; line-height:1px;" title="template">
        <td style="width:50px;">&nbsp;</td>
        <td style="width:140px;">&nbsp;</td>
        <td style="width:200px;">&nbsp;</td>
        <td style="width:auto;">&nbsp;</td>
        </tr>
    <tr>
        <td></td>
        <td class="td_title">
            选择任务
        </td>
        <td><asp:DropDownList runat="server" ID="drpTask"
                onselectedindexchanged="drpTask_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList></td>
        <td></td>
        </tr>
    <tr>
        <td class="tdTitle" colspan="4">基本信息<hr class="hr" /></td>
        </tr>
        <tr>
        <td></td>
        <td class="td_title">案件编号</td>
        <td>
            <asp:Label runat="server" ID="lblCaseIndex">...</asp:Label>
            </td>
        <td>&nbsp;</td>
        </tr>
    <tr>
        <td></td>
        <td class="td_title"><span class="alert">* </span>案件名称</td>
        <td>
            <anthem:TextBox ID="txtName" runat="server" CssClass="conint singleline"></anthem:TextBox></td>
        <td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                runat="server" ErrorMessage="必填" ControlToValidate="txtName" 
                Display="Dynamic" EnableViewState="False" SetFocusOnError="True" 
                ValidationGroup="submit"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td class="td_title">客户名称</td>
        <td>
            <asp:Label runat="server" ID="lblCustomerName">...</asp:Label>
            <asp:HiddenField runat="server" ID="hfCustomerID" />
            </td>
        <td></td>
        </tr>
        <tr>
        <td></td>
        <td class="td_title">客户案件编号</td>
        <td>
            <anthem:TextBox ID="txtCustomerCaseCode" runat="server" CssClass="conint singleline"></anthem:TextBox></td>
        <td>客户对案件的编号，如果没有，可不填</td>
        </tr>
        <tr>
        <td></td>
        <td class="td_title">客户律师</td>
        <td>
            <anthem:TextBox ID="txtCustomerLawyer" runat="server" CssClass="conint singleline"></anthem:TextBox></td>
        <td></td>
        </tr>
        <tr>
        <td></td>
        <td class="td_title">客户实办律师</td>
        <td>
            <anthem:TextBox ID="txtCustomerWorkLawyer" runat="server" 
                CssClass="conint singleline"></anthem:TextBox>
            </td>
        <td></td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td class="td_title">指示函收到日期</td>
        <td>
            <YYWebControl:YYSimpleCalendar ID="txtRecvInstructFileDate" runat="server" CssClass="conint singleline" />
            </td>
        <td>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ErrorMessage="日期格式不正确" Operator="DataTypeCheck" Type="Date" 
                ControlToValidate="txtRecvInstructFileDate" Display="Dynamic" 
                EnableViewState="False" SetFocusOnError="True" ValidationGroup="submit"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td class="td_title">附件数量</td>
        <td>
            <anthem:TextBox ID="txtAttachedFileCount" runat="server" 
                CssClass="conint singleline" Text="0"></anthem:TextBox>
            </td>
        <td>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtAttachedFileCount" Display="Dynamic" 
                EnableViewState="False" ErrorMessage="必需输入整数" SetFocusOnError="True" 
                ValidationExpression="[0-9]+" ValidationGroup="submit"></asp:RegularExpressionValidator>
            </td>
        </tr>
    <tr>
        <td colspan="4">委托书和提交信息<hr class="hr" /></td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td class="td_title">催委托书</td>
        <td>
            <asp:CheckBox ID="chkHurryAuthLetter" runat="server" />
            </td>
        <td>&nbsp;</td>
        </tr>
        <tr>
        <td></td>
        <td class="td_title">委托书份数</td>
        <td>
            <asp:TextBox ID="txtAuthLetterCount" runat="server" CssClass="conint singleline" Text="1"></asp:TextBox>
            </td>
        <td>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="txtAuthLetterCount" Display="Dynamic" 
                EnableViewState="False" ErrorMessage="必需输入整数" SetFocusOnError="True" 
                ValidationExpression="[0-9]+" ValidationGroup="submit"></asp:RegularExpressionValidator>
            </td>
        </tr>
    <tr>
        <td>&nbsp;</td>
        <td class="td_title">委托日期</td>
        <td>
            <YYWebControl:YYSimpleCalendar ID="txtAuthDate" runat="server" CssClass="conint singleline" />
            </td>
        <td>
            <asp:CompareValidator ID="CompareValidator2" runat="server" 
                ErrorMessage="日期格式不正确" Operator="DataTypeCheck" Type="Date" 
                ControlToValidate="txtAuthDate" Display="Dynamic" 
                EnableViewState="False" SetFocusOnError="True" ValidationGroup="submit"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td class="td_title">总委托书编号</td>
        <td>
            <asp:TextBox ID="txtTotalAuthLetterNumber" runat="server" CssClass="conint singleline"></asp:TextBox></td>
        <td>&nbsp;</td>
        </tr>
    <tr>
        <td>&nbsp;</td>
        <td class="td_title">客户指定提交日期</td>
        <td>
            <YYWebControl:YYSimpleCalendar ID="txtCustomerExptectedSubmitDate" runat="server" CssClass="conint singleline" />
            </td>
        <td>
            <asp:CompareValidator ID="CompareValidator3" runat="server" 
                ErrorMessage="日期格式不正确" Operator="DataTypeCheck" Type="Date" 
                ControlToValidate="txtCustomerExptectedSubmitDate" Display="Dynamic" 
                EnableViewState="False" SetFocusOnError="True" ValidationGroup="submit"></asp:CompareValidator>
            </td>
        </tr>
    <tr>
        <td>&nbsp;</td>
        <td class="td_title">内部提交日期</td>
        <td>
            <YYWebControl:YYSimpleCalendar ID="txtExpectedSubmitDate" runat="server" CssClass="conint singleline" />
            </td>
        <td>
            <asp:CompareValidator ID="CompareValidator4" runat="server" 
                ErrorMessage="日期格式不正确" Operator="DataTypeCheck" Type="Date" 
                ControlToValidate="txtExpectedSubmitDate" Display="Dynamic" 
                EnableViewState="False" SetFocusOnError="True" ValidationGroup="submit"></asp:CompareValidator>
            </td>
        </tr>
    <tr>
        <td colspan="4">代理人信息<hr class="hr" /></td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td class="td_title">代理人</td>
        <td>
            <asp:DropDownList runat="server" ID="drpAttoney">
            </asp:DropDownList>
            </td>
        <td>&nbsp;</td>
        </tr>
    <tr>
        <td>&nbsp;</td>
        <td class="td_title">第二代理人</td>
        <td>
            <asp:DropDownList runat="server" ID="drpAttoney2">
            </asp:DropDownList>
        </td>
        <td>&nbsp;</td>
        </tr>
    <tr>
        <td>&nbsp;</td>
        <td class="td_title">案件特殊要求</td>
        <td colspan="2">
            <anthem:TextBox ID="txtSpecialNeeds" runat="server" CssClass="textarea01" 
                TextMode="MultiLine"></anthem:TextBox></td>
        </tr>
    <tr>
        <td>&nbsp;</td>
        <td class="td_title">备注</td>
        <td colspan="2">
            <anthem:TextBox ID="txtNotes" runat="server" CssClass="textarea01" 
                TextMode="MultiLine"></anthem:TextBox></td>
        </tr>
    <tr>
        <td>&nbsp;</td>
        <td class="td_title">&nbsp;</td>
        <td>
            &nbsp;</td>
        <td>&nbsp;</td>
        </tr>
    </table>
    </td>
    <td style="width:160px; vertical-align:top; background:#eee; padding:10px 0 0 10px;">
        <uc1:ucCaseNav ID="ucCaseNav1" runat="server" /></td>
    </tr>
    </table>
    <div class="btdiv2">
        <asp:Button ID="Button1" runat="server" CssClass="input00" Text="保存并下一步" 
            onclick="btnSave_Click" ValidationGroup="submit" />
        </div>
    </form>
</body>
</html>
